import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios';
import MintUI from 'mint-ui';
import 'mint-ui/lib/style.css';
import { formatTime2 } from "../../../public/util";


Vue.use(MintUI);

Vue.prototype.axios=axios;
Vue.prototype.formatTime2=formatTime2;
axios.defaults.withCredentials=true;


Vue.config.productionTip = false

window.onload=window.onresize=function(){
		document.documentElement.style.fontSize=20*document.documentElement.clientWidth/375+'px';
	};

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
